from django.conf.urls import url

from apps.orders import views

urlpatterns = [
    url(r'^orders/settlement/$', views.OrderSettlementView.as_view(), name='placeorder'),  # 下订单
    url(r'^orders/commit/$', views.OrderCommitView.as_view(), name='commit'),  # 提交订单
    url(r'^orders/success/$', views.OrderSuccessView.as_view(), name='success'),
    url(r'^orders/comment/$', views.OrderCommentView.as_view(), name='order_comment'),  # 评论
    url(r'^comment/(?P<sku_id>\d+)/$', views.GoodsCommentView.as_view(), name='show_comments'),
]
